package com.jx.mlxg.entity;

<<<<<<< HEAD
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
=======
>>>>>>> eb72a42842a7e02f996c4f2d21dc4051aa14ecf1
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

<<<<<<< HEAD
import java.time.LocalDateTime;

=======
>>>>>>> eb72a42842a7e02f996c4f2d21dc4051aa14ecf1
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
<<<<<<< HEAD
@TableName("users")
public class Users {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    private String username;

    @TableField("phone_number")
    private String phoneNumber;

    private String address;
    private LocalDateTime registrationDate;
    private String status;
    private Integer role;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;

    @TableField("openid")
    private String openId;

=======
public class Users {
    private String userId;
    private String userName;
    private String passWord;

    //dev测试
>>>>>>> eb72a42842a7e02f996c4f2d21dc4051aa14ecf1
}
